home *** CD-ROM | disk | FTP | other *** search
/ Mac Format 1996 April / MacFormat CD Edition MF36 (April 1996).iso / Floppy / MacFormat Floppy Archive / MacFormat 32 / merryxmas Vaccine / About merryxmas Vaccine 3.0… next >
Text File  |  1995-08-23  |  7KB  |  128 lines

  1. What this stack is for
  2. ——————————————————
  3. This stack eliminates script based viruses which spread themselves by appending the scripts of other stacks with additional instructions which in turn infects every stack they come in contact with. The original virus of this ilk is called “merryxmas.”
  4.  
  5. merryxmas Vaccine The Next Generation 
  6. ————————————————————————————————
  7. Since the appearance of merryxmas, other strains have surfaced such as merry2xmas, Lopez and others too crude to mention. Version 3.0 of this stack is a new, broad spectrum vaccine that catches them all.
  8.  
  9. What the viruses do
  10. ————————————————
  11. By design, most of these viruses are intended only to replicate themselves in other stacks. The worst they are intended to do is quit (not crash) HyperCard unexpectedly. An unintended problem is that portions of other scripts can get sucked into the virus script. The results can be confusing and frustrating.
  12.  
  13. NEW in v3.0 
  14. Another HyperTalk based virus that merryxmas Vaccine now catches is “pickle” also known as “HC 9507.” The pickle virus is a nasty creation that copies not only itself into the scripts of random stacks, it copies resources — several of which are bastardized copies of Frédéric Rinaldi’s XCMDs & XFCNs.
  15. If your stack already contains resources with the same name or
  16. ID numbers — they get clobbered. Pickle is also known to cause crashes.
  17.  
  18. Requirements
  19. ———————————
  20. This stack requires HyperCard v2.1 or later. This is to handle System 7 aliases. System 7 is not required. Color monitors (optional) will display “status colors.”
  21.  
  22. If you use a compression utility such as AutoDoubler™, be sure to have adequate free space on the volume being checked. Stacks have a way of expanding as they are being examined.
  23.  
  24. This stack needs to run unlocked in order to display it’s findings.
  25.  
  26. What this stack will do
  27. ———————————————————
  28. For a selected stack, folder or entire volume, this stack will peek at the stack scripts (without opening the stacks); and strip out the virus code.
  29. A bonus feature is the option to let it compact those stacks that have free space available for compacting. Don’t worry about locked stacks—this stack will unlock them as needed and relock them.
  30.  
  31. This stack will also offer to lock the Home stack against future infections. This is the same as checking the “Locked” checkbox in the Get Info window and can be unlocked at any time by clicking once on the icon of the Home stack; choosing Get Info from the File menu; then unchecking the checkbox.
  32.  
  33. How to use this stack
  34. ——————————————————
  35. Step 1. If you know, or suspect that the Home stack is infected, it is a
  36.             good idea to replace it with a copy from your original disk first.
  37. Step 2. Open this stack and click the “Disinfect Stacks” button.
  38. Step 3. Select the stack, folder or volume (disk) you wish to disinfect.
  39.  
  40. NEW in v3.0 
  41. Thanks to this version’s ability to disinfect itself upon opening if need be, you no longer have to be concerned with keeping a locked copy of this stack to protect it from infection.
  42.  
  43. To take this stack out for a dry run first, use it to scan a floppy disk.
  44. Locked volumes will be scanned without making changes.
  45.  
  46. The scripts
  47. —————————
  48. The code is based on a copy of an infected stack brought to my attention by Ken Dunham at LaGrande Middle School. It was developed on my own time, at home, for use by anyone.
  49.  
  50. Soapbox
  51. ———————
  52. Viruses are unworthy creations for such clever and talented people.
  53. It is my hope that the authors of HyperTalk based viruses will realize the destructive impact that pranks like this have in terms of lost time & productivity and find inspiration for more constructive contributions.
  54.  
  55. Copycat virus spreaders on the other hand are neither clever nor talented.
  56. They are small minded trouble makers, low on the food chain.
  57.  
  58.  
  59. Bill Swagerty
  60. AOL: Bill DS
  61. Internet: billds@aol.com
  62.  
  63.  
  64.  
  65. Acknowledgements & Version History
  66. ——————————————————————————————
  67. Version 3.0
  68. -Now scans itself for viruses and eliminates them upon opening.
  69. -Created two new XFCNs for better script salvaging performance.
  70. -Now eliminates virus code from the unused portion of the data fork to
  71.  help commercial utilities that can’t tell what’s used from what isn’t.
  72. -New DNACheck XFCN to catch all strains of the merryxmas virus including
  73.  a destructive strain called “crudshot.”
  74. -Removes the “pickle” virus, a HyperTalk virus not related to merryxmas.
  75. *Jacque Gay for excellent brainstorming and thorough testing.
  76. *Bill Stafford for pointing out how compacting could work as intended.
  77. *Ken Dunham for pointing out a resume stack window loading problem.
  78. *Till Stegers for suggesting the option to save reports to a file on disk.
  79.  
  80. Version 2.0
  81. *Jacque Gay for ideas on broader detection and protection techniques.
  82. *Ralph Gross, Batavia Middle School for isolating additional virus strains.
  83. -Now employs a custom XFCN to catch more strains of merryxmas.
  84. -Abandoned attempts at inoculating the Home stack in favor of locking it.
  85. -Added provision for scanning standalone stack applications.
  86.  
  87. Version 1.5
  88. *Dennis Kane for bringing the misuse of a reserved word to my attention. 
  89. -Added an option to inoculate the Home stack against future infections.
  90. -Made the color indicator move with the card when the window is moved.
  91. -Added a button for printing the activity report at the end of a scan.
  92. -Added a musical completion notice.
  93.  
  94. Version 1.4
  95. *Ronald Zellner, Texas A&M University for better inoculation strings.
  96. -Added provision for scanning an individual stack or folder.
  97. -Enhanced to display colors on monitors set for more than 256 colors.
  98.  
  99. Version 1.3
  100. -To accommodate accidental mutations, the vaccine now removes
  101.  everything from the virus code on down from infected stack scripts.
  102. -Stacks are assumed to be Finder locked if IsFinderLocked fails.
  103.  
  104. Version 1.2
  105. *Mark Johnson for pointing out GetDir’s weakness for names with commas.
  106. -Color indicator light left red if any stacks could not be disinfected.
  107.  
  108. Version 1.1
  109. -Accommodated the way Mac Pluses respond to the MonitorConfig XFCN.
  110.  
  111. Version 1.0
  112. *Ken Dunham <kdunham@ednet1.osl.or.gov> for telling me about the virus.
  113. *Bill Marriott for the straight HyperTalk progress bar.
  114.  
  115. DNACheck v1.1       XFCN © 1995      Jacque Gay
  116. FilePath v1.1       XFCN © 1989,1990 Apple Computer, Inc.
  117. FolderPath v1.1     XFCN © 1989,1990 Apple Computer, Inc.
  118. GetDir v2.2         XFCN © 1990…1992 Frédéric Rinaldi
  119. GetFInfo v1.3       XFCN © 1990…1993 Frédéric Rinaldi
  120. IsFinderLocked v1.2 XFCN © 1990,1991 Frédéric Rinaldi
  121. KillRes v1.4        XCMD © 1990…1992 Frédéric Rinaldi
  122. LostInSpaces1 v1.0  XFCN © 1995      Bill Swagerty
  123. LostInSpaces2 v1.0  XFCN © 1995      Bill Swagerty
  124. MonitorConfig v1.1  XFCN © 1989,1990 Apple Computer
  125. SetFinderLock v1.2  XCMD © 1990,1991 Frédéric Rinaldi
  126. VolumePath v1.1     XFCN © 1989      Apple Computer, Inc.
  127. VolumeIsLocked v1.0 XFCN © 1990      Apple Computer, Inc.
  128. AutoDoubler is a trademark of Salient Software, Inc.